*{
	margin: 0;
	padding: 0;
	list-style: none;
}
body{
	width: 100vw;
	height: 100vh;
	background: radial-gradient(#1d242d,#090a0e );
	overflow: hidden;
	position: relative;
}
#text{
	font-size: 51px;
	font-weight: 300;
	color: transparent;
	background: linear-gradient(#ccd3dd,#454f59);
	-webkit-background-clip: text;
	position: absolute;
	top: calc(50% - 34px);
	left: calc(50% - 102px);
}

// 创建星星
@function createStar($count:10){
	$shadowStr: "#{random($limit: 100)}vw #{random($limit: 100)}vh #fff";
	@for $i from 1 through $count{
		$width: random($limit: 10000) / 100;
		$height: random($limit: 10000) / 100;
		$shadowStr: unquote("#{$shadowStr},#{$width}vw #{$height}vh #fff");
	}
	@return $shadowStr;
}
$count: 500;
$duration: 50s;
@for $i from 1 through 5{
	.star_box#{$i}{
		width: #{$i}px;
		height: #{$i}px;
		background-color: #fff;
		border-radius: 50%;
		box-shadow: createStar($count / $i);
		animation: moveup #{$duration / $i} linear infinite;
		&::after{
			content: '';
			width: inherit;
			height: inherit;
			border-radius: inherit;
			box-shadow: inherit;
			background-color: inherit;
			position: absolute;
			top: 100vh;
		}
	}
}

@keyframes moveup{
	100%{
		transform: translateY(-30px);
	}
}